<template>

    <div>
      <!--<el-tabs v-if="$route.name!='suppliesEdit'" v-model="activeName" @tab-click="handleClick">-->
      <!--<el-tab-pane label="全网货源" name="suppliesList"></el-tab-pane>-->
      <!--<el-tab-pane label="我的货源" name="suppliesMyList"></el-tab-pane>-->

      <!--</el-tabs>-->
      <router-view></router-view>

    </div>
  <!--全局keeplive在嵌套路由不生效-->

</template>

<script>

  export default{
    name: "suppliesIndex",
    components: {

    },
    data(){
      return{
        activeName:''
      }
    },
    computed:{
    },
    mounted() {
      this.activeName=this.$route.name;
    },

    methods: {

      handleClick:function(vm){

        this.$router.replace({name: this.activeName})

      }



    }

  }
</script>
